﻿<UserControl x:Class="GraphDrawer.MainMenu"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="780" Height="600">
	<Grid x:Name="LayoutRoot" Background="White">
		<Grid.RowDefinitions>
			<RowDefinition Height="30"/>
			<RowDefinition />
			<RowDefinition Height="5"/>
		</Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="5"/>
			<ColumnDefinition />
			<ColumnDefinition Width="5"/>
		</Grid.ColumnDefinitions>

		<Border Background="CornflowerBlue" Grid.ColumnSpan="3" Grid.RowSpan="3"/>
		<Border Background="White" Grid.Column="1" Grid.Row="1" CornerRadius="5">
			<Grid ShowGridLines="False">
				<Grid.RowDefinitions>
					<RowDefinition Height="*" />
					<RowDefinition Height="50" />
				</Grid.RowDefinitions>

				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="10" />
					<ColumnDefinition Width="*" />
					<ColumnDefinition Width="10" />
				</Grid.ColumnDefinitions>


				<Grid Grid.Column="1"  Grid.Row="0" ShowGridLines="False">
					<Grid.RowDefinitions>
						<RowDefinition Height="10"/>
						<RowDefinition />
						<RowDefinition Height="10"/>
						<RowDefinition />
					</Grid.RowDefinitions>
					<Grid.ColumnDefinitions>
						<ColumnDefinition />
						<ColumnDefinition Width="10"/>
						<ColumnDefinition />
						<ColumnDefinition Width="10"/>
						<ColumnDefinition />
					</Grid.ColumnDefinitions>

					<Button Width="200" Height="200" Grid.Column="0" Grid.Row="1" Click="DiseasesModels_Click"
							MouseEnter="DiseasesModels_MouseEnter" MouseLeave="Button_Leave">
						<Button.Content>
							<Grid>
								<Grid.RowDefinitions>
									<RowDefinition Height="*" />
									<RowDefinition Height="50" />
								</Grid.RowDefinitions>
								<Image Source="/Images/GraphDrawer/disease.PNG" Grid.Row="0"></Image>
								<TextBlock TextAlignment="Center" VerticalAlignment="Center" TextWrapping="Wrap" Grid.Row="1">
									Diseases Models
								</TextBlock>
							</Grid>
						</Button.Content>
					</Button>

					<Button Width="200" Height="200" Grid.Column="2" Grid.Row="1" Click="SocialNetworks_Click"
							MouseEnter="SocialNetworks_MouseEnter" MouseLeave="Button_Leave">
						<Button.Content>
							<Grid>
								<Grid.RowDefinitions>
									<RowDefinition Height="*" />
									<RowDefinition Height="50" />
								</Grid.RowDefinitions>
								<Image Source="/Images/GraphDrawer/social-network2.PNG" Grid.Row="0"></Image>
								<TextBlock TextAlignment="Center" VerticalAlignment="Center" TextWrapping="Wrap" Grid.Row="1">
									Social Networks
								</TextBlock>
							</Grid>
						</Button.Content>
					</Button>

					<Button Width="200" Height="200" Grid.Column="4" Grid.Row="1" Click="Polls_Click"
							MouseEnter="Polls_MouseEnter" MouseLeave="Button_Leave">
						<Button.Content>
							<Grid>
								<Grid.RowDefinitions>
									<RowDefinition Height="*" />
									<RowDefinition Height="50" />
								</Grid.RowDefinitions>
								<Image Source="/Images/GraphDrawer/poll.png" Grid.Row="0"></Image>
								<TextBlock TextAlignment="Center" VerticalAlignment="Center" TextWrapping="Wrap" Grid.Row="1">
									Polls
								</TextBlock>
							</Grid>
						</Button.Content>
					</Button>

					<Button Width="200" Height="200" Grid.Column="0" Grid.Row="3" Click="InoculationStrategies_Click"
							MouseEnter="InoculationStrategies_MouseEnter" MouseLeave="Button_Leave">
						<Button.Content>
							<Grid>
								<Grid.RowDefinitions>
									<RowDefinition Height="*" />
									<RowDefinition Height="50" />
								</Grid.RowDefinitions>
								<Image Source="/Images/GraphDrawer/strzykawka.png" Grid.Row="0"></Image>
								<TextBlock TextAlignment="Center" VerticalAlignment="Center" TextWrapping="Wrap" Grid.Row="1">
									Inoculation Strategies
								</TextBlock>
							</Grid>
						</Button.Content>
					</Button>

					<Button Width="200" Height="200" Grid.Column="2" Grid.Row="3" Click="SpreadVisualization_Click"
							MouseEnter="SpreadVisualization_MouseEnter" MouseLeave="Button_Leave">
						<Button.Content>
							<Grid>
								<Grid.RowDefinitions>
									<RowDefinition Height="*" />
									<RowDefinition Height="50" />
								</Grid.RowDefinitions>
								<Image Source="/Images/GraphDrawer/network.png" Grid.Row="0"></Image>
								<TextBlock TextAlignment="Center" VerticalAlignment="Center" TextWrapping="Wrap" Grid.Row="1">
									Spread Visualization
								</TextBlock>
							</Grid>
						</Button.Content>
					</Button>

					<Button Width="200" Height="200" Grid.Column="4" Grid.Row="3" Click="Reports_Click"
							MouseEnter="Reports_MouseEnter" MouseLeave="Button_Leave">
						<Button.Content>
							<Grid>
								<Grid.RowDefinitions>
									<RowDefinition Height="*" />
									<RowDefinition Height="50" />
								</Grid.RowDefinitions>
								<Image Source="/Images/GraphDrawer/ReportsIcon.png" Grid.Row="0"></Image>
								<TextBlock TextAlignment="Center" VerticalAlignment="Center" TextWrapping="Wrap" Grid.Row="1">
									Reports
								</TextBlock>
							</Grid>
						</Button.Content>
					</Button>


				</Grid>

				<TextBlock x:Name="description" TextWrapping="Wrap" Grid.Row="1" Grid.Column="1">
                    CARE system
				</TextBlock>
			</Grid>
		</Border>
		<TextBlock x:Name="txtTitle" Text="CARE" Grid.Column="1" Grid.Row="0"
			Foreground="Black" FontSize="20" FontWeight="bold" />
	</Grid>
</UserControl>
